﻿@model iDMS.Models.DesignChange


<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<script type="text/javascript">
    $(document).ready(function () {
        $('.datePicker').datepicker({ dateFormat: "yy-mm-dd" });
    });
</script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary()
    <fieldset>
        <legend>DesignChange</legend>
        <div class="editor-label">
            @Html.LabelFor(model => model.Identifier)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Identifier, new { @id = "TitleTextBox", @style = "width:400px;height:45px;" })
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Title)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Title)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Description)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ReasonID)
        </div>
        <div class="editor-field">
           @Html.DropDownListFor(model => model.ReasonID, (IEnumerable<SelectListItem>)ViewBag.Reasons)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PlannedReleaseDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PlannedReleaseDate)       
        </div>
           

       
        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}